<template>
    <div>
        <div class="index1" v-if="the_data1 !== null">
            <div class="w2" v-for="i in 10" :key="i">
                <router-link to="/usercenter">
                    <div class="w2_1">
                        <img class="img1" src="https://img-static.mihoyo.com/avatar/avatar1.png" alt="">
                        <img class="img2" src="../../assets/img/v.png" alt="">
                        <div class="w2_2">
                            <span>缺萌萌</span>
                            <span>cdsdv</span>
                            <span>嘿嘿</span>
                        </div>
                    </div>
                    </router-link>
                <div class="plk">
                    <p>关注</p>
                </div>
            </div>
        </div>
        <div class="index1" v-if="the_data1 === null">
            <img src="https://bbs.mihoyo.com/_nuxt/img/noData.a3d7135.png" alt="">
        </div>
    </div>
</template>

<script>
export default {
    props: ['the_data1'],
    data() {
        return {
            
        }
    },
    methods: {
        
    }
}
</script>

<style lang="less" scoped>
    a {
        color: #999;
        text-decoration: none;
    }
    .index1 {
        text-align: center;
        .w2 {
            padding: 10px;
            // border: 1px solid red;
            display: flex;
            justify-content: space-between;
            border-bottom: 1px solid #ccc;
            .w2_1 {
                display: flex;
                align-items: center;
                .img1 {
                    max-width: 60px;
                    border-radius: 50%;
                    cursor: pointer;
                }
                .img2 {
                    // border: 1px solid red;
                    max-width: 16px;
                    border-radius: 50%;
                    margin-top: 40px;
                    margin-left: -20px;
                    cursor: pointer;
                }
                // img:nth-last-child(1) {
                //     border: 1px solid red;
                // }
                .w2_2 {
                    // border: 1px solid red;
                    margin-left: 20px;
                    span:nth-last-child(3):hover {
                        color: #00c3ff;
                    }
                    span:nth-last-child(3) {
                        font-size: 14px;
                        display: flex;
                        flex-wrap: wrap;
                        color: #666;
                        cursor: pointer;
                    }
                    span:nth-last-child(2) {
                        font-size: 14px;
                        display: flex;
                        flex-wrap: wrap;
                        color: #999;
                        cursor: pointer;
                    }
                    span:nth-last-child(1) {
                        font-size: 14px;
                        display: flex;
                        flex-wrap: wrap;
                        color: #999;
                    }
                }
            }
            .plk {
                // border: 1px solid red;
                margin-right: 30px;
                p {
                    // border: 1px solid red;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    border-radius: 20px;
                    background-color: #00c3ff;
                    color: white;
                    height: 26px;
                    width: 60px;
                    cursor: pointer;
                    font-size: 13px;
                }
            }
        }
    }
</style>